home *** CD-ROM | disk | FTP | other *** search
/ PC Zone 96 / PC Zone #096.7z / Dppcz1200.mdf / Demos / Gunlok / data1.cab / Program_Executable_Files / scripts / compounds.gsh < prev    next >
Text File  |  2000-09-09  |  2KB  |  109 lines

  1. // defines compound multiple building blocks
  2. ////////////////////////////////////////////////////////////////////////////////////
  3.  
  4. // start wrapper - prevent multiple inclusions or recursive inclusions
  5.  
  6. //(this currently causes 'unrecognized preprocessor directive' warnings, until implemented)
  7. #ifndef INCLUDED_compounds_GSH
  8. #define INCLUDED_compounds_GSH
  9.  
  10.  
  11. // A shadow can be placed in the gcs using the identifier
  12. ////////////////////////////////////////////////////////////////////////////////////
  13.  
  14. // defines centre pillar section
  15.  
  16. shape Shp_Compound_a
  17. {
  18.        file "objects\Compound A.rif"
  19.        name "Compound A"
  20. }
  21.  
  22. role Rol_Compound_a : Rol_PlacedObject
  23. {
  24.     shape            Shp_Compound_a
  25.     identifier        "compound_a"
  26.     destructibility      Des_Explode
  27.     ai            blocker
  28.     status display         no
  29.     armour             30
  30. }
  31.  
  32. // defines edge section
  33.  
  34. shape Shp_Compound_b
  35. {
  36.        file "objects\Compound B.rif"
  37.        name "Compound B"
  38. }
  39.  
  40. role Rol_Compound_b : Rol_PlacedObject
  41. {
  42.     shape            Shp_Compound_b
  43.     identifier        "compound_b"
  44.     destructibility      Des_Explode
  45.     ai            blocker
  46.     status display         no
  47.     armour             30
  48. }
  49.  
  50. // defines wall section
  51.  
  52. shape Shp_Compound_c
  53. {
  54.        file "objects\Compound C.rif"
  55.        name "Compound C"
  56. }
  57.  
  58. role Rol_Compound_c : Rol_PlacedObject
  59. {
  60.     shape            Shp_Compound_c
  61.     identifier        "compound_c"
  62.     destructibility      Des_Explode
  63.     ai            blocker
  64.     status display         no
  65.     armour             30
  66. }
  67.  
  68. // defines corner section
  69.  
  70. shape Shp_Compound_d
  71. {
  72.        file "objects\Compound D.rif"
  73.        name "Compound D"
  74. }
  75.  
  76. role Rol_Compound_d : Rol_PlacedObject
  77. {
  78.     shape            Shp_Compound_d
  79.     identifier        "compound_d"
  80.     destructibility      Des_Explode
  81.     ai            blocker
  82.     status display         no
  83.     armour             30
  84. }
  85.  
  86.  
  87. // defines T-junction section
  88.  
  89. shape Shp_Compound_e
  90. {
  91.        file "objects\Compound E.rif"
  92.        name "Compound E"
  93. }
  94.  
  95. role Rol_Compound_e : Rol_PlacedObject
  96. {
  97.     shape            Shp_Compound_e
  98.     identifier        "compound_e"
  99.     destructibility      Des_Explode
  100.     ai            blocker
  101.     status display         no
  102.     armour             30
  103. }
  104.  
  105. ////////////////////////////////////////////////////////////////////////////////////
  106.  
  107. // end wrapper - for preventing multiple or recursive inclusions
  108. #endif // !INCLUDED_compounds_GSH
  109.